package com.terabits.smartriver.service.impl;

import com.terabits.smartriver.mapper.LogMapper;
import com.terabits.smartriver.meta.po.Log;
import com.terabits.smartriver.service.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Yin on 2019/3/15
 */
@Service
public class LogServiceImpl implements LogService {
    @Autowired
    private LogMapper logMapper;

    @Override
    public int addLog(Log log) {
        return logMapper.insertSelective(log);
    }
}
